#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

int main()
{
	int arr[10] = { 1,2,3,4,5,6,7,8,9,10};
	int i = 0;
	int sz = sizeof(arr) / sizeof(arr[0]);

	for (i = 0; i < sz; i++)
	{
		printf("%d ", arr[i]);
	}
	printf("\n");

	for (i = sz - 1; i >=0; i--)
	{
		printf("%d ", arr[i]);

	}
	printf("\n");

	for (i = 0; i<sz; i+=2)
	{
		printf("%d ", arr[i]);

	}
	printf("\n");

	for (i = 0; i < sz; i++)
	{
		printf("%p ", &arr[i]);
	}
	printf("\n");
	
	int* p = arr[0];

	
	printf("\n");
	return 0;
}